package mysql

import "gorm.io/gorm"

type Shop struct {
	gorm.Model
	Nickname string  `gorm:"type:varchar(30);not null;comment:'商品名字'"`
	Price    float64 `gorm:"type:decimal(10,2);not null;comment:'商品价格'"`
	Address  string  `gorm:"type:varchar(30);not null;comment:'商品地址'"`
	UserId   int     `gorm:"type:int(10);not null;comment:'用户id'"`
}
